package com.xukang.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients  //开启Feign 权限
@EnableHystrix  // 开启 服务保护
public class SpringCloud_HystrixApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloud_HystrixApplication.class, args);
    }

}
